<%-- 
    Document   : Login
    Created on : Feb 26, 2011, 1:37:43 AM
    Author     : Admin
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Login Administrator</title>
        <link href="../css/style.css" rel="stylesheet" type="text/css">
    </head>
    <body>
        <center>
            <br style="line-height: 35px;" />
            <samp >
                <c:if test="${not empty sessionScope['message']}">
                    <ul>
                        <li style="color: red;">
                             <c:out value="${sessionScope['message']}" />
                        </li>
                    </ul>
                    <%
                        session.removeAttribute("message");
                    %>
                </c:if>
            </samp>
            <form name="LOGINFORM" method="post" action="../ActionFormAdministrator" >
                <table width="350" class="tblborder" cellpadding="0" cellspacing="0">
                 <tr>
                    <td width="100%">
                        <table border="0" cellpadding="2" cellspacing="1" width="100%">
                          <tr>
                              <td colspan="2" style="text-align: center;" class="tdmenu">
                                  <b style="font-size: 14px;">Login Administrator</b>
                            </td>
                          </tr>
                          <tr>
                              <td class="tdtext1"><b>UserName:</b></td>
                              <td class="tdtext2"><input class="form" type="text" name="txtUserName" size="30"></td>
                          </tr>
                          <tr>
                            <td class="tdtext1"><b>Password:</b></td>
                            <td class="tdtext2"><input class="form" type="password" name="txtPassword" size="30"></td>
                          </tr>
                          <tr>
                              <td align="center" colspan="2" class="tdtext1">
                                  <input class="btnLogin" type="submit" name="btnLogin" value="    Login   ">
                              </td>
                          </tr>
                        </table>
                    </td>
                  </tr>
                </table>
            </form>
        </center>
    </body>
</html>
